<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="themes01/default/pstyle.css">
<script type="text/javascript" src="javascripts01/jquery.js"></script>
<script type="text/javascript" src="javascripts01/common.js"></script>
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<?php
$nums=86;
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."menu where fatherid='57' and menutype='0' ORDER BY menunum Asc");
	while ($row = $db->fetch_array($query)) {
?>
<li><a href="<?=$row[menuurl]?>"  <? if($nums==$row[menuid]){?> id="Subnavb"<? }?>><?=$row[menuname]?></a></li>
<?php
	}
?>
</ul>
</div>
<?php if($_GET[message]==1){ ?>
<p id="Notice">
<span id="GetCode">
您的个人信息己成功更新。
</span>
</p>

<?php } ?>
<form name="save" method="post" action="?ac=useredit&do=save&fileurl=user" onSubmit="return save_user()">
	<input type="hidden" name="savetype" value="edit" />
	<input type="hidden" name="id" value="<?=$user['id']?>" />
	<input type="hidden" name="oldpassword" value="<?=$user['password']?>" />
<table class="TableTop" width="90%">
   <tr>
      <td class="left"></td>
      <td class="center">账户信息</td>
      <td class="right"></td>
   </tr>
</table>
 <table class="TableBlock no-top-border" width="90%">
    <tr>
      <td nowrap class="TableData" width="15%"> 用户名：</td>
      <td class="TableData">
        <input type="text" name="username" class="BigInput" size="20" value="<?=$user['username']?>" /><div id="tip"></div>
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData"> 权限组：</td>
      <td class="TableData">
      <select name="groupid" disabled="disabled"><?=get_inc_usergroup_options($user['groupid'])?></select>
      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 所属部门：</td>
      <td class="TableData">
       <select class="SelectStyle" name="departmentid" disabled>
											<option value="0" ></option>
											<?php GET_DEPARTMENT_PUBLIC_LIST(0,$user['departmentid'])?>
										</select>
      </td>
    </tr>
 

    
    
    
     <tr>
      <td nowrap class="TableHeader" colspan="2"><b>&nbsp;基本信息</b></td>
    </tr>
 
    <tr>
      <td nowrap class="TableData"> 姓名：</td>
      <td class="TableData">
       <input type="text" name="name" class="BigInput" size="20" value="<?=$user['name']?>" />
      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 性别：</td>
      <td class="TableData">
      <input type="radio" name="sex" id="sex" value="男" <? if ($user['sex']=="男"){?>checked="checked" <? } ?>class="checkbox" /><label for="visible1">男</label> <input type="radio" name="sex" id="sex" value="女" <? if ($user['sex']=="女"){?>checked="checked" <? } ?> class="checkbox" /><label for="visible0">女</label>
      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 联系电话：</td>
      <td class="TableData">
      <input type="text" name="tel" class="BigInput" size="50" value="<?=$user['tel']?>"/>
      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 传真号码：</td>
      <td class="TableData">
     <input type="text" name="fax" class="BigInput" size="50" value="<?=$user['fax']?>" />
      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 电子邮箱：</td>
      <td class="TableData">
     <input type="text" name="email" class="BigInput" size="50" value="<?=$user['email']?>" />
      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 手机：</td>
      <td class="TableData">
     <input type="text" name="phone" class="BigInput" size="30" value="<?=$user['phone']?>" />
      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 城市：</td>
      <td class="TableData">
     <input type="text" name="city" class="BigInput" size="30" value="<?=$user['city']?>" />
      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 出生日期：</td>
      <td class="TableData">
      <?php
								$birthdate=explode(' ',$user['birthdate']); 
								?>
     <input type="text" name="birthdate" class="BigInput" size="20"  onClick="WdatePicker();" value="<?=$birthdate[0]?>"/> 
      </td>
    </tr>
    
    <tr>
      <td nowrap class="TableData"> 职位：</td>
      <td class="TableData">
     <input type="text" name="position" class="BigInput" size="30" value="<?=$user['position']?>" />
      </td>
    </tr>
    
    
    
 
 
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap height="35">
        <input type="submit" value="保存信息" class="BigButton">
      </td>
    </tr>
  </table>
</form>
</div>
</div>
 
 
</body>
</html>
